<template>
    <van-field v-model="form[option.prop]" :label="option.label" :placeholder="option.placeholder"
        :rules="option.rules" />
</template>
<script setup lang="ts">
defineOptions({ name: 'XklField' })
const props = defineProps(['form', 'option'])
const { form, option } = props
</script>